package com.ruoyi.drugSystem.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 sys_drug_info
 *
 * @author ruoyi
 * @date 2023-03-05
 */
public class SysDrugInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long drugdetailedinfoId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String drugdetailedinfoCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String drugdetailedinfoName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String drugclassName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String price;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String quantity;


    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String qgperiod;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long drugClassId;

    @Excel(name = "分类名称", targetAttr = "drugClassName", type = Excel.Type.EXPORT)
    private SysDrugClass sysDrugClass;

    private SysDrugBrand sysDrugBrand;

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    private Long brandId;

    public SysDrugBrand getSysDrugBrand() {
        return sysDrugBrand;
    }

    public void setSysDrugBrand(SysDrugBrand sysDrugBrand) {
        this.sysDrugBrand = sysDrugBrand;
    }

    public SysDrugClass getSysDrugClass() {
        return sysDrugClass;
    }

    public void setSysDrugClass(SysDrugClass sysDrugClass) {
        this.sysDrugClass = sysDrugClass;
    }

    public void setDrugdetailedinfoId(Long drugdetailedinfoId)
    {
        this.drugdetailedinfoId = drugdetailedinfoId;
    }

    public Long getDrugdetailedinfoId()
    {
        return drugdetailedinfoId;
    }
    public void setDrugdetailedinfoCode(String drugdetailedinfoCode)
    {
        this.drugdetailedinfoCode = drugdetailedinfoCode;
    }

    public String getDrugdetailedinfoCode()
    {
        return drugdetailedinfoCode;
    }
    public void setDrugdetailedinfoName(String drugdetailedinfoName)
    {
        this.drugdetailedinfoName = drugdetailedinfoName;
    }

    public String getDrugdetailedinfoName()
    {
        return drugdetailedinfoName;
    }
    public void setDrugclassName(String drugclassName)
    {
        this.drugclassName = drugclassName;
    }

    public String getDrugclassName()
    {
        return drugclassName;
    }
    public void setPrice(String price)
    {
        this.price = price;
    }

    public String getPrice()
    {
        return price;
    }
    public void setQuantity(String quantity)
    {
        this.quantity = quantity;
    }

    public String getQuantity()
    {
        return quantity;
    }

    public void setQgperiod(String qgperiod)
    {
        this.qgperiod = qgperiod;
    }

    public String getQgperiod()
    {
        return qgperiod;
    }
    public void setDrugClassId(Long drugClassId)
    {
        this.drugClassId = drugClassId;
    }

    public Long getDrugClassId()
    {
        return drugClassId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("drugdetailedinfoId", getDrugdetailedinfoId())
                .append("drugdetailedinfoCode", getDrugdetailedinfoCode())
                .append("drugdetailedinfoName", getDrugdetailedinfoName())
                .append("drugclassName", getDrugclassName())
                .append("price", getPrice())
                .append("quantity", getQuantity())
                .append("sysDrugBrand", getSysDrugBrand())
                .append("qgperiod", getQgperiod())
                .append("drugclassId", getDrugClassId())
                .append("createTime", getCreateTime())
                .append("sysDrugClass", getSysDrugClass())
                .append("brandId", getBrandId())
              .toString();
    }
}

